-
Couldn't load subscription status.
- Fork 700
[ET-VK][ez] Apply rotary embedding as Module #6391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
## Context As title. Wrap the `apply_rotary_emb` function call in a `nn.Module` to make it easy to perform a source module replacement for rotary embedding calculation. The Vulkan delegate will use the source module replacement technique to insert a custom op to calculate rotary embeddings. Differential Revision: [D64697589](https://our.internmc.facebook.com/intern/diff/D64697589/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/6391
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 4d3230c with merge base 46ea1a4 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D64697589 |
## Context As title. Wrap the `apply_rotary_emb` function call in a `nn.Module` to make it easy to perform a source module replacement for rotary embedding calculation. The Vulkan delegate will use the source module replacement technique to insert a custom op to calculate rotary embeddings. Differential Revision: [D64697589](https://our.internmc.facebook.com/intern/diff/D64697589/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D64697589 |
Pull Request resolved: #6391 ## Context As title. Wrap the `apply_rotary_emb` function call in a `nn.Module` to make it easy to perform a source module replacement for rotary embedding calculation. The Vulkan delegate will use the source module replacement technique to insert a custom op to calculate rotary embeddings. ghstack-source-id: 249175724 @exported-using-ghexport Differential Revision: [D64697589](https://our.internmc.facebook.com/intern/diff/D64697589/) Co-authored-by: Stephen Jia <[email protected]>
Stack from ghstack (oldest at bottom):
Context
As title. Wrap the
apply_rotary_embfunction call in ann.Moduleto make it easy to perform a source module replacement for rotary embedding calculation.The Vulkan delegate will use the source module replacement technique to insert a custom op to calculate rotary embeddings.
Differential Revision: D64697589